Skip to content

chore: upgrade to net10.0-android and add NuGet packaging metadata#13

Merged
JusterZhu merged 2 commits into
mainfrom
feat/nuget-pack-readiness
Jun 13, 2026
Merged

chore: upgrade to net10.0-android and add NuGet packaging metadata#13
JusterZhu merged 2 commits into
mainfrom
feat/nuget-pack-readiness

Conversation

@JusterZhu

Copy link
Copy Markdown
Contributor

Closes #12

Summary

Prepares GeneralUpdate.Avalonia.Android for NuGet publishing by adding proper packaging metadata and upgrading to .NET 10.

Key changes

  • Upgrade TFM from net8.0-android34.0 to net10.0-android
  • Add full NuGet packaging metadata
  • Add src/GeneralUpdate.Avalonia.slnx
  • Fix SupportedOSPlatformVersion to 26

Verification

  • Builds with 0 errors
  • Generates .nupkg and .snupkg outputs
  • Tests build and pass

- Upgrade target framework from net8.0-android34.0 to net10.0-android
- Upgrade tests from net8.0 to net10.0
- Add NuGet packaging metadata (Version, License, Readme, SourceLink, snupkg)
- Add GeneralUpdate.Avalonia.slnx to manage src projects
- Update global.json to use latestMajor rollForward
- Fix SupportedOSPlatformVersion from 21 to 26
- Update .gitignore to exclude .idea/
- Update README with new target framework info

Co-Authored-By: Claude <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 13, 2026 07:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the Android library and its tests to .NET 10 and adds NuGet packaging metadata so GeneralUpdate.Avalonia.Android can be published as a package.

Changes:

  • Upgrade TFMs: GeneralUpdate.Avalonia.Androidnet10.0-android, tests → net10.0.
  • Add NuGet package metadata (license, repo links, symbols/snupkg settings, readme packing).
  • Add a .slnx solution file for the src folder.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/GeneralUpdate.Avalonia.Android.Tests/GeneralUpdate.Avalonia.Android.Tests.csproj Moves test project to net10.0.
src/GeneralUpdate.Avalonia.slnx Adds solution definition for the Android project.
src/GeneralUpdate.Avalonia.Android/GeneralUpdate.Avalonia.Android.csproj Upgrades to net10.0-android, updates min API level, and adds NuGet packaging metadata.
README.md Updates prerequisites to mention .NET 10 / net10 Android.
global.json Updates SDK selection behavior via rollForward/prerelease settings.
.gitignore Attempts to add IDE ignore entry (but currently introduces a malformed line).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread global.json Outdated
Comment on lines +3 to +5
"version": "8.0.100",
"rollForward": "latestMajor",
"allowPrerelease": true
Comment on lines 34 to 36
<ItemGroup>
<PackageReference Include="Xamarin.AndroidX.Core" Version="1.13.1.2" />
</ItemGroup>
Comment thread README.md Outdated
- Pin global.json SDK to 10.0.100 (net10.0 requires 10.x SDK)
- Add Microsoft.SourceLink.GitHub package reference for proper SourceLink
- Update README: remove net8.0 references, require only net10.0
- Add .idea/ to .gitignore

Co-Authored-By: Claude <noreply@anthropic.com>
@JusterZhu

Copy link
Copy Markdown
Contributor Author

All 3 review comments have been addressed in commit 1bd7c02:

  1. global.json SDK pinned to 10.0.100 (was 8.0.100 — net10.0 requires 10.x)
  2. ✅ Added Microsoft.SourceLink.GitHub package reference for proper SourceLink
  3. ✅ README updated: net8.0 references removed, only net10.0 listed

@JusterZhu JusterZhu merged commit b7e4e18 into main Jun 13, 2026
2 checks passed
@JusterZhu JusterZhu deleted the feat/nuget-pack-readiness branch June 13, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: upgrade to net10.0-android and add NuGet packaging metadata

2 participants